/**
 * 
 */
package com.sesame.dao;

import java.util.List;

import com.sesame.domain.Complaint;

/**
 * @author shubeta
 *
 */
public interface ComplaintDAO {
    public List<Complaint> getAllComplaint();

    public Complaint getComplaintByNickName(String nickName);

    public void addComplaint(Complaint complaint);

    public void deleteComplaintById(Integer id);
    
    public void deleteComplaintByState(char state);

    public void updateComplaint(Complaint complaint);
}
